﻿using System;

namespace DataCenter.Interface.Model
{
    public enum StorageTypes
    {
        StoreInAttribute,
        StoreInInnerText,
        StoreInContent
    }

    [AttributeUsage(AttributeTargets.Property)]
    public class ParameterAttribute : Attribute
    {
        private string paramName;
        private StorageTypes storageType;
        private object defaultValue;

        public string ParamName
        {
            get { return paramName; }
            set { paramName = value; }
        }

        public StorageTypes StorageType
        {
            get { return storageType; }
            set { storageType = value; }
        }

        public object DefaultValue
        {
            get { return defaultValue; }
            set { defaultValue = value; }
        }
    }
}
